#include <stdbool.h>
#include "dev_pin.h"

void SetPinStatus(PhyPin *pin, GPIO_PinState state)
{
    HAL_GPIO_WritePin(pin->gpio, pin->pinId, state);
}

bool GetPinStatus(PhyPin *pin)
{
    return HAL_GPIO_ReadPin(pin->gpio, pin->pinId);
}
